<template>
    <span v-for="(item, index) in list" :key="index">
        {{ index + 1 }}:{{ item.done }}
    </span>
</template>
<script setup>
const props = defineProps(['list'])
</script>
<style scoped>
.right {
    color: green;
}

.error {
    color: red;
}

.undo {
    color: #ccc;
}
</style>